<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:rich="http://richfaces.org/rich"
      xmlns:a4j="http://richfaces.org/a4j">
	
	<head>
		<title>:: Futiba Manager</title>
		
		<style type="text/css">
			.errorMessageClass {
				color:red; 
				font-weight:bold;
				background: #ffd0d0;
			}
			
			.infoMessageClass {
				color:green; 
				font-weight:bold;
				background: #DFF2BF;
			}
			
			.btnClose {
				float: right;
				z-index: 1000;
				cursor: pointer;
				height: 18px;
				width: 18px;
				margin: 0px 0px 0px 0px;
			}
		</style>
	</head>
	
	<body>
		<f:loadBundle var="msgs" basename="messages" />
		
		<table style="width:640px; margin:0 auto; cellpadding: 0; cellspacing: 0">  
			<tr>  
				<td>  
					<ui:insert name="header">  
						<ui:include src="/pages/header.xhtml"/>
					</ui:insert>    
				</td>  
			</tr>  
			<tr>
				<td>
					<ui:insert name="message"> 
						<ui:include src="/pages/message.xhtml"/>
					</ui:insert>
				</td>  
			</tr>
			<tr>  
				<td>  
					<ui:insert name="menu">  
						<ui:include src="/pages/menu.xhtml"/>
					</ui:insert>  
				</td>  
			</tr> 
			<tr>
				<td>
					<rich:panel>
						<f:facet name="header">
							<h:outputText value="#{title}" style="font-size: 15pt" />
						</f:facet>

						<ui:insert name="main" />
					</rich:panel>  
				</td>  
			</tr>
			<tr>  
				<td>  
					<ui:insert name="footer">    
						<ui:include src="/pages/footer.xhtml"/>
					</ui:insert>  
				</td>  
			</tr>  
		</table>    
	 </body>  
</html>